ryudo/showevent/Makefile

14 lines
219 B
Makefile
Raw Normal View History

2019-12-02 18:23:00 +00:00
CFLAGS = -g
INCLUDE = -I/global/include
LFLAGS = -L/global/lib
OBJS = ShowEvent.o sample.o
LIBS = -lX11
all: sample
.c.o:
$(CC) $(INCLUDE) $(CFLAGS) -c $<
sample: $(OBJS)
$(CC) $(LFLAGS) $(OBJS) $(LIBS) -o sample