Skip to content

Commit

Permalink
Merge pull request Arakula#12 from bpfoley/improve-makefile
Browse files Browse the repository at this point in the history
Add clean target to UNIX Makefile, and stricter compiler options
  • Loading branch information
Arakula authored Feb 19, 2020
2 parents fd9e2ee + decded2 commit 6434bf6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
all: f9dasm hex2bin mot2bin
PROGS=f9dasm hex2bin mot2bin

CCFLAGS=-O2 -Wall -Wextra

all: $(PROGS)

%: %.c
$(CC) $(CCFLAGS) $(<) -o $@

.PHONY clean:
rm $(PROGS)

0 comments on commit 6434bf6

Please sign in to comment.