wstationd/Makefile

23 lines
281 B
Makefile

RM=rm -f
CFLAGS=
LDFLAGS=
LIBS=
TARGET=wstationd
SRC= \
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)