Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ftake
sl
makefile.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File makefile.diff of Package sl
--- Makefile 1998-07-22 15:00:41.000000000 +0100 +++ Makefile 2009-02-10 15:59:47.000000000 +0000 @@ -6,9 +6,27 @@ #========================================== CC=cc -CFLAGS=-O +CFLAGS=-Wall +LDFLAGS=-Wall -sl: sl.c sl.h - $(CC) $(CFLAGS) -o sl sl.c -lcurses -ltermcap -# $(CC) $(CFLAGS) -o sl sl.c -lcurses +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/man/man1 + +default: sl + +sl: sl.o + $(CC) $(LDFLAGS) -o $@ $< -lncurses +sl.o: sl.c sl.h + $(CC) $(CFLAGS) -c -o $@ sl.c + +clean: + rm -f sl *.o +help: + gzip < sl.1 > sl.1.gz +install: sl help + install -D -m 755 sl $(BINDIR)/sl + install -D -m 644 sl.1.gz $(MANDIR)/sl.1.gz +uninstall: + rm -f $(BINDIR)/sl $(MANDIR)/sl.1.gz
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor