wstationd/Makefile

23 lines
281 B
Makefile
Raw Permalink Normal View History

RM=rm -f
CFLAGS=
LDFLAGS=
LIBS=
TARGET=wstationd
SRC= \
2016-04-28 10:42:47 -08:00
src/imei.c \
src/wstationd.c
OBJ=$(SRC:.c=.o)
.PHONY: clean all
.c.o:
$(CC) -Wall -std=c99 $(CFLAGS) -c $< -o $@
all: $(TARGET)
$(TARGET): $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@
clean:
$(RM) $(OBJ) $(TARGET)