File: Makefile

package info (click to toggle)
fspanel 0.7-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 252 kB
  • sloc: ansic: 3,477; makefile: 78
file content (17 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
C_FLAGS = -DHAVE_XPM -Wall -I/usr/X11R6/include
L_FLAGS = -L/usr/X11R6/lib -lX11 -lXpm
EXTRA_CFLAGS = -g -Os
PROGNAME = fspanel

$(PROGNAME): Makefile fspanel.c fspanel.h icon.xpm
	$(CC) $(C_FLAGS) $(EXTRA_CFLAGS) fspanel.c -o $(PROGNAME) $(L_FLAGS)

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

install: $(PROGNAME)
	install -d -m 755 $(DESTDIR)/usr/bin
	install -m 755 $(PROGNAME) $(DESTDIR)/usr/bin
	install -d -m 755 $(DESTDIR)/usr/share/man/man1