source: projects/puncher/Makefile @ 5

Last change on this file since 5 was 5, checked in by sven, 11 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 
1GTKFLAGS=`pkg-config --cflags --libs gtk+-2.0`
2VISUALISATION=../visualisator
3BACKEND=$(VISUALISATION)/lochstreifen.c $(VISUALISATION)/gtkpapertape.c
4
5all: gtk
6
7gtk: 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
13windows: 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
17linux-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.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License