Added basic template for server - accepting connnections, command line

arguments, etc
This commit is contained in:
2015-02-03 15:20:10 +00:00
committed by cdramey
parent 76a7548409
commit 8189722dce
3 changed files with 145 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
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)