1CC = gcc
2C_FLAGS = -O2 -I/usr/include/X11 -I/usr/X11/include
3L_FLAGS = -Xlinker -s -L/usr/X/lib -L/usr/X11/lib -lX11
4PROGNAME = fspanel
5
6$(PROGNAME): Makefile fspanel.c fspanel.h icon.xpm
7	$(CC) $(C_FLAGS) $(L_FLAGS) fspanel.c -o $(PROGNAME)
8	@ls -l $(PROGNAME)
9
10clean:
11	rm -f core *.o $(PROGNAME) nohup.out
12
13install: $(PROGNAME)
14	cp $(PROGNAME) /usr/local/bin
15