diff options
-rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,11 +1,15 @@ CFLAGS=-Wall -all: bin/1a bin/1b \ +all: bin \ + bin/1a bin/1b \ bin/2a bin/2b \ bin/3a bin/3b \ bin/4a bin/4b \ bin/5 \ +bin: + mkdir -p $@ + bin/%: %.c $(CC) $(CFLAGS) -o $@ $< |