Skip to content
Snippets Groups Projects
Commit 4c736b00 authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

Added Makefile

parent 7ebb43c9
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
# $Id: Makefile,v 1.1.1.1 2006/03/13 18:31:16 bino Exp $
# variables
PROGRAM=pbsacct
CC=c++
CFLAGS=-O -c
LFLAGS=-O
INSTALL_DIR=/usr/local/sbin
# make
VPATH=./
all: $(PROGRAM)
OBJECTS=main.o alloc.o read.o print.o
$(PROGRAM): $(OBJECTS)
$(CC) $(LFLAGS) -o $(PROGRAM) $(OBJECTS)
rm $(OBJECTS)
$(OBJECTS): main.h
$(OBJECTS): %.o: %.cpp
$(CC) $(CFLAGS) $<
clean:
rm -f $(PROGRAM) $(OBJECTS)
install:
cp $(PROGRAM) $(INSTALL_DIR)
cp mk_pbsacct $(INSTALL_DIR)
uninstall:
rm -f $(INSTALL_DIR)/$(PROGRAM)
rm -f $(INSTALL_DIR)/mk_pbsacct
pbsacct 0 → 100755
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment