diff options
Diffstat (limited to 'os2w2/makefile')
-rw-r--r-- | os2w2/makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/os2w2/makefile b/os2w2/makefile new file mode 100644 index 0000000..1b726be --- /dev/null +++ b/os2w2/makefile @@ -0,0 +1,16 @@ +CC = gcc +LD = gcc + +CFLAGS += -g + +all: main + +main: main.o + $(LD) $^ $(LFLAGS) -o $@ + +%.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ + +clean: + $(RM) main.o main + |