diff options
Diffstat (limited to 'package/maccalc/src/Makefile')
-rw-r--r-- | package/maccalc/src/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/maccalc/src/Makefile b/package/maccalc/src/Makefile new file mode 100644 index 000000000..486badb25 --- /dev/null +++ b/package/maccalc/src/Makefile @@ -0,0 +1,14 @@ +CC = gcc +CFLAGS = -Wall +OBJS = main.o + +all: maccalc + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +maccalc: $(OBJS) + $(CC) -o $@ $(OBJS) + +clean: + rm -f maccalc *.o |