blob: 9e70f565955a40226fb8dfe4fd7935b7ead379db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|