1
mirror of git://git.acid.vegas/muhstik.git synced 2024-11-24 17:06:37 +00:00
muhstik/muhstik/Makefile
2021-04-04 12:50:39 -04:00

22 lines
498 B
Makefile

CC=gcc
CFLAGS=-Wsign-compare -Wall -I/usr/local/include
LDFLAGS=-L/usr/local/lib -lpthread
VPATH=src:build
OBJS=clone.o control.o init.o lists.o load.o mass.o muhstik.o net.o print.o proxy.o string.o
all: muhstik dork
muhstik: $(OBJS)
cd build; $(CC) $(LDFLAGS) -o ../muhstik $(OBJS)
.c.o:
$(CC) $(CFLAGS) -c -o build/$@ $<
notmp:
rm -f *~
rm -f */*~
clean: notmp
rm -f build/*.o
dork:
latex doc/TODO.tex
dvipdf TODO.dvi doc/TODO.pdf
rm -f TODO.dvi TODO.aux TODO.log texput.log