13 lines
219 B
Makefile
Executable file
13 lines
219 B
Makefile
Executable file
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
|