Last change
on this file since 8 was
5,
checked in by sven, 16 years ago
|
The new puncher subsystem which shall replace the existing Linux-only
userspace driver (where the whole user frontend and backend is hardcoded
in only one c file) at [the paper tape project reposity]/userspace-driver.
This puncher subsystem has not been finished yet, but the userspace-driver
directory will be quite legacy at some time when the new subsystem works
(at least on Linux).
|
File size:
650 bytes
|
Line | |
---|
1 | GTKFLAGS=`pkg-config --cflags --libs gtk+-2.0` |
---|
2 | VISUALISATION=../visualisator |
---|
3 | BACKEND=$(VISUALISATION)/lochstreifen.c $(VISUALISATION)/gtkpapertape.c |
---|
4 | |
---|
5 | all: gtk |
---|
6 | |
---|
7 | gtk: gtk-frontend.c $(BACKEND) |
---|
8 | gcc -o gtkprogram $(GTKFLAGS) gtk-frontend.c $(BACKEND) |
---|
9 | |
---|
10 | # WINDOWS: mingw braucht dort ERST cflags, dann C source, dann |
---|
11 | # LINKER flags, vgl. |
---|
12 | # http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/lablgtk-list/old/413.txt |
---|
13 | windows: gtk-frontend.c $(BACKEND) |
---|
14 | gcc `pkg-config --cflags gtk+-2.0` -o gtkprogram gtk-frontend.c $(BACKEND) `pkg-config --libs gtk+-2.0` |
---|
15 | |
---|
16 | # temp mal dazu |
---|
17 | linux-driver: |
---|
18 | gcc -o setoff-strobe setoff-strobe.c |
---|
19 | gcc -o puncher puncher.c -lm |
---|
Note: See
TracBrowser
for help on using the repository browser.