Very old webserver program that used to host the vertesine site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 519B

1234567891011121314151617181920212223242526
  1. COMPILENAME = oscillator
  2. SOURCES = $(wildcard *.c)
  3. NIXCC = gcc
  4. WINCC = i686-w64-mingw32-gcc
  5. C_OBJ = $(SOURCES:.o)
  6. LIBSNIX = -Wl,-Bstatic -lm -lcrypto -lssl -levent -Wl,-Bdynamic -lpthread
  7. LIBSWIN = -lm -mwindows -lcrypto -lssl -levent -lpthread
  8. COMPILE_FLAGS = -g -Wall -s -O2 -o
  9. #COMPILE_FLAGS = -g -Wall -o
  10. linux:
  11. $(NIXCC) $(COMPILE_FLAGS) $(COMPILENAME) $(SOURCES) $(LIBSNIX)
  12. windows:
  13. $(WINCC) $(COMPILE_FLAGS) $(COMPILENAME) $(SOURCES) $(LIBSWIN)
  14. run:
  15. ./$(COMPILENAME)
  16. clean:
  17. rm -f *.o, $(COMPILENAME)