mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
20 lines
296 B
Makefile
20 lines
296 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -g
|
|
HEADERS =
|
|
|
|
all: blaster
|
|
|
|
depend:
|
|
sudo apt-get install libconfig8-dev uuid-dev libqrencode-dev
|
|
|
|
%.o: %.c $(HEADERS)
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
blaster: blaster.o
|
|
$(CC) $(CFLAGS) -o $@ $^ -lconfig -luuid -lqrencode
|
|
|
|
clean:
|
|
rm *.o blaster
|
|
|
|
.PHONY: all depend clean
|