wmaker-eukara/dockapps/cputnik/src/Makefile

24 lines
440 B
Makefile
Raw Normal View History

2022-06-09 08:56:44 -07:00
CFLAGS = -Wall -Os -fcommon
INCS = -I/usr/X11R6/include/X11
LIBS = -L/usr/X11R6/lib64 -lXpm -lXext -lX11
INSTALL_PREFIX = /usr/local
all: cputnik.c docklib.o master.h mask.h
gcc $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LIBS)
docklib.o: docklib.c docklib.h
gcc $(CFLAGS) $(INCS) -c docklib.c
install:
cp ./cputnik $(INSTALL_PREFIX)/bin
uninstall:
rm -f $(INSTALL_PREFIX)/bin/cputnik
clean:
rm -f *.o cputnik *~