Last change
on this file since 1016 was 1016, checked in by ansari, 25 years ago |
Creation du module JThreadsC++, importation du code des classes
de Thread a la Java de Object Oriented Concepts Inc - Reza 19/5/2000
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1016] | 1 | # Makefile for building JTC JThreads/C++
|
---|
| 2 | # Source code from Object Oriented Concepts www.ooc.com
|
---|
| 3 | # R. Ansari LAL-IN2P3/CNRS
|
---|
| 4 |
|
---|
| 5 | CXX := g++
|
---|
| 6 | ifdef EROSCXX
|
---|
| 7 | CXX := $(EROSCXX)
|
---|
| 8 | endif
|
---|
| 9 |
|
---|
| 10 | SYSNOM = $(shell echo `uname`)
|
---|
| 11 | SYSCOMPNOM = $(SYSNOM)-$(CXX)
|
---|
| 12 |
|
---|
| 13 | INC = $(JTCBASEREP)/Include
|
---|
| 14 | LIB = $(JTCBASEREP)/$(SYSCOMPNOM)/Libs
|
---|
| 15 | SLB = $(JTCBASEREP)/$(SYSCOMPNOM)/ShLibs
|
---|
| 16 |
|
---|
| 17 | SYSLIBS = -lpthread
|
---|
| 18 | ifeq ($(CXX),cxx)
|
---|
| 19 | CPPFLAGS := -I$(INC) -pthread
|
---|
| 20 | endif
|
---|
| 21 |
|
---|
| 22 | all : hello clock diner conprod
|
---|
| 23 | echo 'hello clock diner conprod built'
|
---|
| 24 |
|
---|
| 25 | hello : hello.o
|
---|
| 26 | $(CXX) -o hello hello.o -L$(SLB) -lJTC $(SYSLIBS)
|
---|
| 27 | hello.o : hello.cc
|
---|
| 28 | $(CXX) -I$(INC) -c -o hello.o hello.cc $(SYSLIBS)
|
---|
| 29 |
|
---|
| 30 | diner : diner.o
|
---|
| 31 | $(CXX) -o diner diner.o -L$(SLB) -lJTC $(SYSLIBS)
|
---|
| 32 | diner.o : diner.cc
|
---|
| 33 | $(CXX) -I$(INC) -c -o diner.o diner.cc
|
---|
| 34 |
|
---|
| 35 | clock : clock.o
|
---|
| 36 | $(CXX) -o clock clock.o -L$(SLB) -lJTC $(SYSLIBS)
|
---|
| 37 | clock.o : clock.cc
|
---|
| 38 | $(CXX) -I$(INC) -c -o clock.o clock.cc
|
---|
| 39 |
|
---|
| 40 | conprod : conprod.o
|
---|
| 41 | $(CXX) -o conprod conprod.o -L$(SLB) -lJTC $(SYSLIBS)
|
---|
| 42 | conprod.o : conprod.cc
|
---|
| 43 | $(CXX) -I$(INC) -c -o conprod.o conprod.cc
|
---|
| 44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.