libsml/examples/Makefile

11 lines
220 B
Makefile

CFLAGS += -I../sml/include/ -g -Wall
OBJS = sml_server.o
LIBS = -L../sml/lib/ ../sml/lib/libsml.o
sml_server : $(OBJS)
$(CC) $(CFLAGS) $(LIBS) -o sml_server $(OBJS)
.PHONY: clean
clean:
@rm -f *.o
@rm -f sml_server