1
0
mirror of https://github.com/gryf/wmtemp.git synced 2026-02-02 06:05:51 +01:00

Moved makefile to the top directory. Version bump.

This commit is contained in:
2017-12-11 10:02:55 -08:00
parent 2fbe3c59e5
commit 8a1776fe09
6 changed files with 6 additions and 8 deletions

33
Makefile Normal file
View File

@@ -0,0 +1,33 @@
# By RedSeb 1999, Liverbugg 2002
SRC = src/wmtemp.c
EXE = src/wmtemp
OBJ = $(SRC:.c=.o)
CFLAGS = -Wall -O3
LIB = -L/usr/X11R6/lib -lXpm -lXext -lX11 -ldockapp
INSTALL = /usr/bin/install
CC = gcc
all: $(OBJ)
$(CC) $(CFLAGS) -o $(EXE) $(OBJ) $(LIB)
strip $(EXE)
$(OBJ): %.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -rf $(EXE) src/*.o
install:
$(INSTALL) $(EXE) /usr/local/bin/
uninstall:
rm -rf /usr/local/bin/$(EXE)
remove: uninstall