diff options
Diffstat (limited to 'voerbak/makefile')
-rw-r--r-- | voerbak/makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/voerbak/makefile b/voerbak/makefile new file mode 100644 index 0000000..a4102d4 --- /dev/null +++ b/voerbak/makefile @@ -0,0 +1,21 @@ +CC = gcc +LD = gcc +RM = rm -f +CFLAGS = + +SOURCES := $(wildcard *.c) +OBJECTS := $(patsubst %.c,%.o, $(SOURCES)) + +all: voerbak + +.cpp.o: + $(CC) -c $(CFLAGS) $< + +voerbak: $(OBJECTS) + $(CC) $(OBJECTS) -o voerbak + +clean: + $(RM) voerbak + +distclean: clean + $(RM) *.o |