mirror of
https://git.zaage.it/robert/balong-flash
synced 2024-11-18 09:28:23 +00:00
21 lines
280 B
Makefile
Executable File
21 lines
280 B
Makefile
Executable File
CC = gcc
|
|
LIBS =
|
|
CFLAGS = -O2 -g -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
|
|
|
|
balong_flash: balong_flash.o hdlcio.o
|
|
@gcc $^ -o $@ $(LIBS)
|