CPPFLAGS += -I$(OPENWINHOME)/include LDLIBS += -lxview -lX11 test : p.o x_message.o gpc -o test p.p x_message.o -I $(OPENWINHOME)/library -Lxview -LX11 x_message.o : x_message.c gcc -c x_message.c p.o : p.p gpc -c p.p clean: rm *.o test