root/foundation-apps/gmemusage-maxx/Makefile

Revision 1, 0.5 KB (checked in by emasson, 3 years ago)

initial import for the community edition

Line 
1SOURCES = gmemusage.c processlist.c util.c display.c mouse.c
2
3OBJECTS = $(SOURCES:.c=.o)
4
5TARGET  = gmemusage
6
7BITS    = 64
8X11_ROOT        = /usr
9X11_INCLUDE     =  $(X11_ROOT)/include
10X11_LIB         = $(X11_ROOT)/lib$(BITS)
11
12LIBS = -L/opt/MaXX/lib$(BITS) -lglut -lGLU -lXt -L$(X11_LIB) -lGL -lX11 -lXmu -lXi -L/usr/lib$(BITS) -lm
13
14all: $(TARGET)
15
16$(TARGET): $(OBJECTS)
17        $(CC) -m$(BITS) -o $(TARGET) $(OBJECTS)  $(LIBS)
18
19.c.o:   
20        $(CC) -c -I. -I/usr/include -I/opt/MaXX/include -o $@ $<
21
22clean:
23        -rm -f *.o *.bck gmemusage core
Note: See TracBrowser for help on using the browser.