Source

rfid / Makefile.rfid

Diff from to

Makefile.rfid

 
 
 avrfid2.elf: avrfid2.c
-	$(CC) \
-		-mmcu=attiny85 \
-		-O3 \
-		-Wall \
-		-Wstrict-prototypes \
-		-std=gnu99 \
-		avrfid2.c \
-		-o $@ \
-		-nostdlib \
+	$(CC) $(CFLAGS) -o $@ $<
 
+CFLAGS := \
+	-mmcu=attiny85 \
+	-O3 \
+	-Wall \
+	-Wstrict-prototypes \
+	-std=gnu99 \
+	-nostdlib \
+