gadgets-OSC/specific/Makefile
2020-11-02 08:41:33 +01:00

29 lines
614 B
Makefile

OPTS = -Wall -g -DDEBUG_LEVEL=0
all: joy2laser asyncburp
# --------------------------------------------
laserblast.o: laserblast.c Makefile
gcc -c ${OPTS} $<
joy2laser: joy2laser.c Makefile laserblast.o
gcc ${OPTS} $< laserblast.o ../functions/libpocosc.a -llo -o $@
# --------------------------------------------
asyncburp.o: asyncburp.c burpmsg.h laserblast.h Makefile
gcc -c ${OPTS} $<
burpmsg.o: burpmsg.c burpmsg.h Makefile
gcc -c ${OPTS} $<
asyncburp: asyncburp.o burpmsg.o laserblast.o
gcc ${OPTS} $< laserblast.o burpmsg.o -llo -o $@
# --------------------------------------------