blob: 5d014e0a3decdc68914022af49bc04e2d6970486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CC = gcc
CFLAGS = -I../cd/include -I../iup/include -I/usr/X11R6/include
LIBS = -L../cd/lib/Linux26 -L../iup/lib/Linux26 -L/usr/X11R6/lib \
-lcdiup -lcd -liup \
-lXm -lXpm -lXmu -lXt -lXext -lX11
OBJS = simple.o iupmain.o
simple.o: simple.c simple.h
$(CC) -o $@ -c simple.c $(CFLAGS)
iupmain.o: iupmain.c simple.h
$(CC) -o $@ -c iupmain.c $(CFLAGS)
simple: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)
|