File: Makefile

package info (click to toggle)
aewm++-goodies 1.0-8.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 412 kB
  • ctags: 678
  • sloc: cpp: 3,366; ansic: 963; makefile: 161; sh: 13
file content (15 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
prefix=/usr
C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I/usr/X11R6/include -m386 -malign-loops=2 -malign-jumps=2 -malign-functions=2
L_FLAGS = -O1 -Xlinker -s -L/usr/X11R6/lib -lX11 -lXpm
PROGNAME = aewm++_fspanel

$(PROGNAME): Makefile ae_fspanel.c ae_fspanel.h icon.xpm
	$(CC) $(C_FLAGS) $(CFLAGS) $(L_FLAGS) $(LDFLAGS) ae_fspanel.c -o $(PROGNAME)
	@ls -l $(PROGNAME)

clean: 
	rm -f core *.o $(PROGNAME) nohup.out

install: $(PROGNAME)
	cp -r $(PROGNAME) $(DESTDIR)$(prefix)/bin