gadgets-OSC/specific/Makefile

29 lines
614 B
Makefile
Raw Permalink Normal View History

OPTS = -Wall -g -DDEBUG_LEVEL=0
2020-10-31 08:21:20 +11:00
all: joy2laser asyncburp
2020-10-31 08:21:20 +11:00
# --------------------------------------------
2020-10-10 08:35:01 +11:00
laserblast.o: laserblast.c Makefile
gcc -c ${OPTS} $<
joy2laser: joy2laser.c Makefile laserblast.o
gcc ${OPTS} $< laserblast.o ../functions/libpocosc.a -llo -o $@
2020-10-31 08:21:20 +11:00
# --------------------------------------------
2020-11-02 18:41:33 +11:00
asyncburp.o: asyncburp.c burpmsg.h laserblast.h Makefile
2020-10-31 08:21:20 +11:00
gcc -c ${OPTS} $<
burpmsg.o: burpmsg.c burpmsg.h Makefile
gcc -c ${OPTS} $<
2020-11-02 18:41:33 +11:00
asyncburp: asyncburp.o burpmsg.o laserblast.o
gcc ${OPTS} $< laserblast.o burpmsg.o -llo -o $@
2020-10-31 08:21:20 +11:00
# --------------------------------------------