wstationd/Makefile

22 lines
267 B
Makefile
Raw Normal View History

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