File: Makefile

package info (click to toggle)
yeahconsole 0.3.4-6.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: ansic: 1,455; xml: 184; makefile: 65
file content (22 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TARGET = yeahconsole
INSTALL = install

PREFIX = $(DESTDIR)/usr

LIBS = -lX11
CFLAGS += -Wall

OBJECTS := yeahconsole.o
SOURCES := yeahconsole.c

$(TARGET): $(OBJECTS) 
	$(CC) $(LDFLAGS) -o $@ $< $(LIBS)

clean:
	rm -rf $(TARGET) $(OBJECTS)

install: $(TARGET) $(MAN)
	$(INSTALL) -m 0755 $(TARGET) $(PREFIX)/bin

uninstall:
	rm -f $(PREFIX)/bin/$(TARGET)