toys/vtk-c/trunk/Makefile
sparky
cvs at pld-linux.org
Mon Aug 7 00:10:51 CEST 2006
Author: sparky
Date: Mon Aug 7 00:10:50 2006
New Revision: 7614
Modified:
toys/vtk-c/trunk/Makefile
Log:
- standart way of doing the things
Modified: toys/vtk-c/trunk/Makefile
==============================================================================
--- toys/vtk-c/trunk/Makefile (original)
+++ toys/vtk-c/trunk/Makefile Mon Aug 7 00:10:50 2006
@@ -2,16 +2,19 @@
bindir = $(PREFIX)/bin
DESTDIR =
SOURCES = vtk.c
-OBJECTS = vtk.o
+OBJECTS = $(SOURCES:%.c,%.o)
TARGET = vtk
-LINK = gcc
+CC = gcc
+CCLD = $(CC)
CFLAGS = -pipe -Wall -W -O2
+LDFLAGS =
+LIBS =
DEL_FILE = rm -f
INSTALL = /usr/bin/install -c
all: Makefile $(TARGET)
$(TARGET): $(OBJECTS)
- $(LINK) -o $(TARGET) $(OBJECTS)
+ $(CCLD) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
clean:
$(DEL_FILE) $(OBJECTS) $(TARGET)
More information about the pld-cvs-commit
mailing list