mirror of
https://github.com/forth32/balongflash
synced 2024-11-15 12:12:52 +00:00
24 lines
326 B
Makefile
Executable File
24 lines
326 B
Makefile
Executable File
CC = gcc
|
|
LIBS =
|
|
CFLAGS = -O2 -Wno-unused-result
|
|
|
|
.PHONY: all clean
|
|
|
|
all: balong_flash
|
|
|
|
clean:
|
|
rm *.o
|
|
rm balong_flash
|
|
|
|
#.c.o:
|
|
# $(CC) -o $@ $(LIBS) $^ qcio.o
|
|
|
|
hdlcio.o: hdlcio.c
|
|
$(CC) -c hdlcio.c
|
|
|
|
ptable.o: ptable.c
|
|
$(CC) -c ptable.c
|
|
|
|
balong_flash: balong_flash.o hdlcio.o ptable.o
|
|
@gcc $^ -o $@ $(LIBS)
|